﻿using System;
using System.Data;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;

namespace AnyOffice.general.meeting.room
{
    public partial class delete : ModulePage
    {


        protected void Page_Load(object sender, EventArgs e)
        {
            int roomId = (Request.QueryString["room_id"] != null) ? int.Parse(Request.QueryString["room_id"]) : 0;
            new MeetingRoomDao().Delete(base.Conn, roomId);
            base.CloseConn();
            Response.Redirect("index.aspx");
        } 

    }
}
